﻿<!DOCTYPE html>
<html>
<head>
   <title>Performing a single machine simulation with VI-DriveSim on Windows</title>
   <meta name="generator" content="Help & Manual">
   <meta name="keywords" content="">
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
   <link type="text/css" href="default.css" rel="stylesheet">
   <link type="text/css" href="custom.css" rel="stylesheet">
   <script type="text/javascript" src="nsh.js"></script>
   
<!-- non-scrolling headers for CHM and browser-based help, local styles-->
<style TYPE="text/css" media="screen"> 
   <!-- 
   body {    
      margin:0; 
      padding:0; 
      overflow: auto; 
      background: #edede9; 
   } 
   #idheader { 
      width:100%; 
      height:auto; 
      padding: 0; 
      margin: 0;     
} 
    #idheaderbg  {
    background: #E40A00; 
}
#idheadernowrap  {
    white-space:nowrap; 
}
    ul {list-style-type: lower-roman}
   -->
   </style>
   
<style TYPE="text/css" MEDIA="print">
<!--
/* Hide navigation links and add space between header
     and text in the printed version. Not valid for eBooks. */
#idnav { display:none;	 }
.topichead { padding: 5px 5px 20px 5px; }
-->
</style>   
   <script type="text/javascript" src="jquery.js"></script>
   <script type="text/javascript" src="helpman_settings.js"></script>
   <script type="text/javascript" src="helpman_topicinit.js"></script>

   <script type="text/javascript">
     HMSyncTOC("index.html", "vbk_tut_performing_a_simulati2_2.htm");
   </script>
   <script type="text/javascript" src="highlight.js"></script>
   <script type="text/javascript">
     $(document).ready(function(){highlight();});
   </script>
</head>
<body>

<!--ZOOMSTOP-->

<div id="idheader" >
<div id="idheaderbg">
<table width="100%" border="0" cellspacing="0" cellpadding="0" 
       style="margin: 0px; color: #D7D7D7;">

  <tr valign="middle">
    <td align="left" valign="middle" class="topichead">
    <!--<div id="idheadernowrap">-->
    <p class="crumbs" id="idnav"><b>Navigation:</b>&nbsp;
   
   VI-DriveSim 19.2 on Windows &gt; VI-DriveSim 19.2 Tutorials&nbsp;&gt;</p>
      <h1 class="p_Heading1" style="page-break-after: avoid;"><span class="f_Heading1">Performing a single machine simulation with VI-DriveSim on Windows</span></h1>

    <!--</div>-->
    </td>
    <td align="right" width="180" valign="middle" class="topichead" id="idnav">
    <div id="idheadernowrap">
    <a href="javascript: print();"
    		onmouseover="document.images.prntr.src='print_a.png'" 
        onmouseout="document.images.prntr.src='print_n.png'"
        ><img name="prntr" border="0" alt="Print this Topic" title="Print this Topic" src="print_n.png"
        ></a>&nbsp;&nbsp;
     <a href="vbk_tut_performing_a_simulati2.htm"
        onmouseover="document.images.prev.src='back_a.png'" 
        onmouseout="document.images.prev.src='back_n.png'"
        ><img name=prev src="back_n.png" border=0 alt="Previous page"
        ></a><a href="drvsim_i_simwb_inst.htm"
        onmouseover="document.images.main.src='top_a.png'" 
        onmouseout="document.images.main.src='top_n.png'"><img name=main src="top_n.png" border=0 alt="Return to chapter overview"
        ></a><a href="vbk_tut_running_matlab_with_vi-drivesi.htm"
        onmouseover="document.images.next.src='next_a.png'" 
        onmouseout="document.images.next.src='next_n.png'"><img name=next src="next_n.png" border=0 alt="Next page"
        ></a>
    </div>
    </td>
  </tr>
</table>
</div>

<!-- The following code displays Expand All/Collapse All links  below the header in topics containing toggles -->
  

</div>  



<div id="idcontent"><div id="innerdiv"> 
<!--ZOOMRESTART-->
<p class="p_Normal"><span class="f_ImageCaption" style="font-size: 10pt; font-weight: normal;">Sometimes could be necessary to perform a simulation on a laptop which is not connected to a network.</span></p>
<p class="p_Normal"><span class="f_ImageCaption" style="font-size: 10pt; font-weight: normal;">In this case on the same machine VI-GraphSim and VI-DriveSim are running at the same time, but the PC does not have IPs addresses due to offline working mode (no WiFi and no Ethernet connections).</span></p>
<p class="p_Normal"><span class="f_ImageCaption" style="font-size: 10pt; font-weight: normal;">The automatic address searching of VI-GraphSim will not be able to find a valid IP to assign to the UDP stream receiver, so the simulation will run correctly but no data is visualized on VI-GraphSim interface.</span></p>
<p class="p_Normal"><span class="f_ImageCaption" style="font-size: 10pt; font-weight: normal;">As you can see in the VI-GraphSim F12 menu (network tab) the actual connection IP will be 0.0.0.0 because there are not connected interfaces.</span></p>
<p class="p_Normal"><span class="f_ImageCaption" style="font-size: 10pt; font-weight: normal;">To solve this &quot;issue&quot; a virtual network card is needed, to add this virtual interface please follow next steps:</span></p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal">On device manager click on &quot;Add legacy hardware&quot; button to open the dedicated wizard:</p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal" style="text-align: center;"><img alt="drvsim_win_net_adapter" width="602" height="334" style="margin:0px auto 0px auto;width:602px;height:334px;border:none" src="drvsim_win_net_adapter.png"/></p>
<p class="p_Normal" style="text-align: center;">&nbsp;</p>
<p class="p_Normal" style="text-align: center;">&nbsp;</p>
<p class="p_Normal">When the wizard appears, please follow on-screen instructions</p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal" style="text-align: center;"><img alt="drvsim_win_net_adapter_2" width="474" height="347" style="margin:0px auto 0px auto;width:474px;height:347px;border:none" src="drvsim_win_net_adapter_2.png"/></p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal"><span class="f_ImageCaption" style="font-size: 10pt; font-weight: normal;">Select manual installation:</span></p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal" style="text-align: center;"><img alt="drvsim_win_net_adapter_3" width="474" height="347" style="margin:0px auto 0px auto;width:474px;height:347px;border:none" src="drvsim_win_net_adapter_3.png"/></p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal"><span class="f_ImageCaption" style="font-size: 10pt; font-weight: normal;">Select &quot;Networks adapters&quot; as shown below:</span></p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal" style="text-align: center;"><img alt="drvsim_win_net_adapter_4" width="474" height="347" style="margin:0px auto 0px auto;width:474px;height:347px;border:none" src="drvsim_win_net_adapter_4.png"/></p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal"><span class="f_ImageCaption" style="font-size: 10pt; font-weight: normal;">From Microsoft adapters list select &quot;Microsoft Loopback Adapter&quot;:</span></p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal" style="text-align: center;"><img alt="drvsim_win_net_adapter_5" width="474" height="347" style="margin:0px auto 0px auto;width:474px;height:347px;border:none" src="drvsim_win_net_adapter_5.png"/></p>
<p class="p_Normal" style="text-align: center;">&nbsp;</p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal"><span class="f_ImageCaption" style="font-size: 10pt; font-weight: normal;">Click &quot;Next&quot; button to continue to the next step:</span></p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal" style="text-align: center;"><img alt="drvsim_win_net_adapter_6" width="474" height="347" style="margin:0px auto 0px auto;width:474px;height:347px;border:none" src="drvsim_win_net_adapter_6.png"/></p>
<p class="p_Normal" style="text-align: center;">&nbsp;</p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal"><span class="f_ImageCaption" style="font-size: 10pt; font-weight: normal;">Click on &quot;Finish&quot; button to complete the wizard:</span></p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal" style="text-align: center;"><img alt="drvsim_win_net_adapter_7" width="474" height="347" style="margin:0px auto 0px auto;width:474px;height:347px;border:none" src="drvsim_win_net_adapter_7.png"/></p>
<p class="p_Normal" style="text-align: center;">&nbsp;</p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal"><span class="f_ImageCaption" style="font-size: 10pt; font-weight: normal;">Now from &quot;Device manager&quot; menu, right click on the added adapter and set the desired adapter IP (for example 192.168.100.100)</span></p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal" style="text-align: center;"><img alt="drvsim_win_net_adapter_8" width="331" height="369" style="margin:0px auto 0px auto;width:331px;height:369px;border:none" src="drvsim_win_net_adapter_8.png"/></p>
<p class="p_Normal" style="text-align: center;">&nbsp;</p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal"><span class="f_ImageCaption" style="font-size: 10pt; font-weight: normal;">Set the desired IP also in the control panel &quot;Network connections&quot; section as shown in the image below</span></p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal" style="text-align: center;"><img alt="drvsim_win_net_adapter_9" width="688" height="448" style="margin:0px auto 0px auto;width:688px;height:448px;border:none" src="drvsim_win_net_adapter_9.png"/></p>
<p class="p_Normal" style="text-align: center;">&nbsp;</p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal"><span class="f_ImageCaption" style="font-size: 10pt; font-weight: normal;">Now it's possible to open VI-GraphSim and set the new address in the dedicated box as shown in the following image.</span></p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal" style="text-align: center;"><img alt="drvsim_win_net_adapter_10" width="452" height="391" style="margin:0px auto 0px auto;width:452px;height:391px;border:none" src="drvsim_win_net_adapter_10.png"/></p>
<p class="p_Normal" style="text-align: center;">&nbsp;</p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal"><span class="f_ImageCaption" style="font-size: 10pt; font-weight: normal;">Now click on &quot;Save All&quot; menu and restart VI-GraphSim, now the simulation (data coming from VI-DriveSim) can be viewed in VI-GraphSim through Microsoft Loopback Adapter.</span></p>
<p class="p_Normal">&nbsp;</p>

<!--ZOOMSTOP-->
</div></div>
<script type="text/javascript"> 
<!-- 
var lastSlashPos = document.URL.lastIndexOf("/") >
document.URL.lastIndexOf("\\") ? document.URL.lastIndexOf("/") :
document.URL.lastIndexOf("\\");
if( document.URL.substring( lastSlashPos + 1, lastSlashPos + 4
).toLowerCase() != "~hh" )
{
    nsrInit();
}
--> 
</script> 
</body>
</html>
